Reepay\Checkout\OrderFlow\OrderCapture B

Total Complexity 81
Dependencies 7
Dependents 6
Total lines 410
Lines of code 227
Logical lines of code 134
Comment lines 111
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
multi_settle()
A
47 14 33
get_item_price()
A
51 12 23
process_item_capture()
A
57 9 16
unset_specific_order_item_meta_data()
S
57 7 16
settle_item()
S
50 6 27
add_item_capture_button()
S
55 5 18
settle_items()
S
54 4 18
capture_full_order()
S
64 5 9
check_capture_allowed()
S
65 5 8
capture_full_order_button()
S
57 3 17
get_item_data()
S
58 3 14
activate_woocommerce_subscription()
S
72 3 5
get_not_settled_amount()
S
64 3 9
__construct()
S
64 1 9
complete_settle()
S
72 1 5